package com.sky.mapper;

import com.sky.dto.SetmealDTO;
import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetMealDishMapper {

    void insert(List<SetmealDish> setmealDishes);

    List<Long> getSetMealIdsByIds(List<Long> ids);

    List<SetmealDish> selectDishesByDishId(Long id);


    void deleteBySetMealId(Long setMealId);

    void deleteBySetMealIds(List<Long> ids);
}
